package com.sinitek.web.request;

import com.sinitek.model.query.MustNotQuery;
import com.sinitek.model.query.MustQuery;
import com.sinitek.model.query.ShouldQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: elastic
 * @description:
 * @author: Mr.chen
 * @create: 2019-04-26 17:13
 */

/**
 * 重要 - 组合查询(精准匹配)
 *
 * @return
 */
@Data
public class FindAllAssociationByConditionRequest {

    @ApiModelProperty(notes = "排序字段名", example = "account_number")
    private String sortFieldName;
    @ApiModelProperty(notes = "排序方式(DESC)", example = "DESC")
    private String sortOrder;
    @ApiModelProperty(notes = "分页对象")
    private BasePageRequest basePageRequest;

    @ApiModelProperty(notes = "必须满足条件", example = "")
    private MustQuery mustQuery;
    @ApiModelProperty(notes = "必须不满足条件", example = "")
    private MustNotQuery mustNotQuery;
    @ApiModelProperty(notes = "可能满足条件", example = "")
    private ShouldQuery shouldQuery;
}
